package com.tfswx.jcyw.ruleenginedesigner.dao;

import com.tfswx.jcyw.ruleenginedesigner.dao.model.GzyqXtStdy;
import com.tfswx.jcyw.ruleenginedesigner.dto.stgl.StTreeQueryOutputDTO;
import com.tfswx.jcyw.ruleenginedesigner.dto.stgl.StdyListByXmbmQueryOutputDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Ricky
 * @date 2021/5/11
 */
@Mapper
public interface GzyqXtStdyMapper {
    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(GzyqXtStdy record);

    List<StdyListByXmbmQueryOutputDTO> queryStdyListByXmbm(GzyqXtStdy gzyqXtStdy);

    int update(GzyqXtStdy gzyqXtStdy);

    int delete(GzyqXtStdy gzyqXtStdy);

    List<StTreeQueryOutputDTO> queryStTree(GzyqXtStdy gzyqXtStdy);

    int qkStdy(List<String> xmbmList);
}
